package com.example.pojo;

import java.util.Date;
/**
 * 人员总文件
 * @author Administrator
 *
 */
public class Personnel {
	 private String  personnelid;//人员表的编号
     private String  personnelname;//人员表的名称
     private Integer deptid;//部门表
     private String  idcard;//身份证
     private String  sex;//性别
     private Date datebirth;//出生日期
     private String  marriage;//婚姻
     private String  bloodtype;//血型
     private Date  dateentry;//入职日期
     private String  nativeplace;//籍贯
     private String  nationality;//国籍
     private String  contact;//联系电话
     private String  thecontact;//联系人 
	public String getPersonnelid() {
		return personnelid;
	}
	public void setPersonnelid(String personnelid) {
		this.personnelid = personnelid;
	}
	public String getPersonnelname() {
		return personnelname;
	}
	public void setPersonnelname(String personnelname) {
		this.personnelname = personnelname;
	}
	public Integer getDeptid() {
		return deptid;
	}
	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getDatebirth() {
		return datebirth;
	}
	public void setDatebirth(Date datebirth) {
		this.datebirth = datebirth;
	}
	public String getMarriage() {
		return marriage;
	}
	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}
	public String getBloodtype() {
		return bloodtype;
	}
	public void setBloodtype(String bloodtype) {
		this.bloodtype = bloodtype;
	}
	public Date getDateentry() {
		return dateentry;
	}
	public void setDateentry(Date dateentry) {
		this.dateentry = dateentry;
	}
	public String getNativeplace() {
		return nativeplace;
	}
	public void setNativeplace(String nativeplace) {
		this.nativeplace = nativeplace;
	}
	public String getNationality() {
		return nationality;
	}
	public void setNationality(String nationality) {
		this.nationality = nationality;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getThecontact() {
		return thecontact;
	}
	public void setThecontact(String thecontact) {
		this.thecontact = thecontact;
	}
	public Personnel(String personnelid, String personnelname, Integer deptid,
			String idcard, String sex, Date datebirth, String marriage,
			String bloodtype, Date dateentry, String nativeplace,
			String nationality, String contact, String thecontact) {
		super();
		this.personnelid = personnelid;
		this.personnelname = personnelname;
		this.deptid = deptid;
		this.idcard = idcard;
		this.sex = sex;
		this.datebirth = datebirth;
		this.marriage = marriage;
		this.bloodtype = bloodtype;
		this.dateentry = dateentry;
		this.nativeplace = nativeplace;
		this.nationality = nationality;
		this.contact = contact;
		this.thecontact = thecontact;
	}
	public Personnel() {
		super();
	}
	@Override
	public String toString() {
		return "Personnel [personnelid=" + personnelid + ", personnelname="
				+ personnelname + ", deptid=" + deptid + ", idcard=" + idcard
				+ ", sex=" + sex + ", datebirth=" + datebirth + ", marriage="
				+ marriage + ", bloodtype=" + bloodtype + ", dateentry="
				+ dateentry + ", nativeplace=" + nativeplace + ", nationality="
				+ nationality + ", contact=" + contact + ", thecontact="
				+ thecontact + "]";
	}
}
